bootm: Add board specific OS preboot hook
authorMarek Vasut <[email protected]>
Thu, 4 Oct 2018 19:16:31 +0000 (21:16 +0200)
committerTom Rini <[email protected]>
Wed, 10 Oct 2018 17:35:09 +0000 (13:35 -0400)
commitfd3d1212a2cbbcde848dc109d4c2bbfb759f9d4e
treebb810dd6c553ac2223fdfa58d50c7b5df7299208
parent81089a54300df5fa5b4a22e3bf4df6b521438f68
bootm: Add board specific OS preboot hook

Add board-specific hook which is executed before the code hands over
control to the OS. This lets the board perform some last-minute clean
ups.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Simon Goldschmidt <[email protected]>
common/bootm_os.c